package com.hz.ruoyiquality.domain.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hz.ruoyiquality.config.ArrayToStringDeserializer;
import com.hz.ruoyiquality.domain.basedomain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author bai
 * @version 1.0
 * @description: TODO
 * @date 2025/3/12 14:09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderUpdateDTO extends BaseDomain {

    private String orderType;  // 订单类型
    private Integer orderNo;  // 订单 ID
    private Integer appearance; // 外观检测结果（1-正常，0-异常）
    private String remarks;  // 备注
    private Integer status;  // 订单状态    1 和 0

    private Double weight;   // 重量
    private Integer quantity;   // 数量
    @JsonDeserialize(using = ArrayToStringDeserializer.class)
    private String images;    //质检的照片


}
